package com.sw.study.presisence.executor;

import com.sw.study.presisence.uti.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by sw on 2020/3/25.
 */
public class BoundSql {
    /**
     * 解析后的sql语句
     */
    private String sqlText;
    /**
     * 解析替换被替换出来的属性
     */
    private List<ParameterMapping> parameterMappingList=new ArrayList<>();

    public BoundSql(String sqlText, List<ParameterMapping> parameterMappingList) {
        this.sqlText = sqlText;
        this.parameterMappingList = parameterMappingList;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}